package cate.common.table.activity.dungeonup;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "特殊事件")
public class DUSpecialEventRow extends ERow {
    @NoteField(value = "参数")
    public int param;

    @NoteField(value = "参数")
    public String rewardStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.param = xrw.getInteger("倍数", 2);
        this.rewardStr = xrw.getString("物品", "");
    }
}
